#ifndef _MODEL_H_INCLUDED_
#define _MODEL_H_INCLUDED_

#include "gameobject.h"
#include "ms3dmodel.h"
#include "texture.h"

class Model
            : public GameObject {
public:
    Model(Game* game);
    virtual ~Model(void);
    CMs3dModel* GetModel() const;
    char* GetModelFilename() const;
    void SetModelFilename(char* val);
    CTexture* GetTexture() const;
    char* GetTextureFilename() const;
    void SetTextureFilename(char* val);
    virtual void Draw(float timeDelta);
    virtual void Draw(Matrix4x4 matrix);
    virtual void Initialize();
    virtual void LoadContent();
    virtual void Update(float timeDelta);
private:
    CMs3dModel* model;
    char* modelFilename;
    CTexture* texture;
    char* textureFilename;
};

#endif